﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for FleetCarDetail
/// </summary>
namespace CE.CarInsurance
{
    public class FleetCarDetail
    {
        public FleetCarDetail()
        {
            ClearFields();
        }

        private Int64 _fleetcarid;
        private Int64 _companyid;
        private string _carmake;
        private string _carmodel;
        private string _body;
        private int _cc;
        private int _door;
        private int _groupno;
        private string _makemodeldesc;
        private int _manufactyear;

        private int _currentstep;
        private int _totalstep;

        //common field name
        private Int64 _agentid;
        private Int64 _refceuserid;
        private string _rowguid;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        private string _info6;
        private string _info7;
        private string _info8;
        private string _info9;
        private string _info10;
        private string _info11;
        private string _info12;
        private string _info13;
        private string _info14;
        private string _info15;
        private string _info16;
        private string _info17;
        private string _info18;
        private string _info19;
        private string _info20;
        private bool _bInfo1;

        public Int64 FleetCarId
        {
            get { return _fleetcarid; }
            set { _fleetcarid = value; }
        }

        public Int64 CompanyId
        {
            get { return _companyid; }
            set { _companyid = value; }
        }

        public string CarMakeName
        {
            get { return _carmake; }
            set { _carmake = value; }
        }

        public string CarModelName
        {
            get { return _carmodel; }
            set { _carmodel = value; }
        }

        public string Body
        {
            get { return _body; }
            set { _body = value; }
        }

        public int CC
        {
            get { return _cc; }
            set { _cc = value; }
        }

        public int Door
        {
            get { return _door; }
            set { _door = value; }
        }

        public int GroupNo
        {
            get { return _groupno; }
            set { _groupno = value; }
        }

        public string MakeModelDesc
        {
            get { return _makemodeldesc; }
            set { _makemodeldesc = value; }
        }

        public int ManufactYear
        {
            get { return _manufactyear; }
            set { _manufactyear = value; }
        }

        public int CurrentStep
        {
            get { return _currentstep; }
            set { _currentstep = value; }
        }

        public int TotalStep
        {
            get { return _totalstep; }
            set { _totalstep = value; }
        }

        public string RowGUID
        {
            get { return _rowguid; }
            set { _rowguid = value; }
        }

        public Int64 AgentId
        {
            get { return _agentid; }
            set { _agentid = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public string Info8
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string Info9
        {
            get { return _info9; }
            set { _info9 = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }

        public string Info11
        {
            get { return _info11; }
            set { _info11 = value; }
        }

        public string Info12
        {
            get { return _info12; }
            set { _info12 = value; }
        }

        public string Info13
        {
            get { return _info13; }
            set { _info13 = value; }
        }

        public string Info14
        {
            get { return _info14; }
            set { _info14 = value; }
        }

        public string Info15
        {
            get { return _info15; }
            set { _info15 = value; }
        }

        public string Info16
        {
            get { return _info16; }
            set { _info16 = value; }
        }

        public string Info17
        {
            get { return _info17; }
            set { _info17 = value; }
        }

        public string Info18
        {
            get { return _info18; }
            set { _info18 = value; }
        }

        public string Info19
        {
            get { return _info19; }
            set { _info19 = value; }
        }

        public string Info20
        {
            get { return _info20; }
            set { _info20 = value; }
        }

        public bool BInfo1
        {
            get { return _bInfo1; }
            set { _bInfo1 = value; }
        }

        public void ClearFields()
        {
            _fleetcarid = 0;
            _companyid = 0;
            _carmake = "";
            _carmodel = "";
            _body = "";
            _cc = 0;
            _door = 0;
            _groupno = 0;
            _makemodeldesc = "";
            _manufactyear = 0;
            _rowguid = "";
            _currentstep = 0;
            _totalstep = 0;
            _agentid = 0;
            _refceuserid = 0;
            //common field name
            _status = false;
            _createddate = new DateTime();
            _modifieddate = new DateTime();

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
            _info6 = "";
            _info7 = "";
            _info8 = "";
            _info9 = "";
            _info10 = "";
            _info11 = "";
            _info12 = "";
            _info13 = "";
            _info14 = "";
            _info15 = "";
            _info16 = "";
            _info17 = "";
            _info18 = "";
            _info19 = "";
            _info20 = "";
            _bInfo1 = false;
        }

    }
}